<template>
    <div class="search">
        <search-box></search-box>
    </div>
</template>
<script>
import axios from "axios";
import { Indicator } from "mint-ui";
import { Toast } from "mint-ui";
import SearchBox from "../common/vue/Search-box";
export default {
  components: {
    searchBox: SearchBox
  },
  data() {
    return {
      query: "",
      tagSearch: false,
      value: ""
    };
  },
  created() {
    // console.group("created 创建完毕状态===============》");
    // 该方法用来更改tabbarshow的值 用来 展示、隐藏底部 tabbar (boolean为0 展示、boolean为1 隐藏)
    this.$store.dispatch("showTabbar", { boolean: "1" });
  },
  methods: {
    goBack() {
      this.$store.dispatch("showTabbar", { boolean: "0" });
      history.go(-1);
    }
  }
};
</script>
<style scoped>
.search {
  position: fixed;
  z-index: 500;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fafafa;
}
.search-box {
  box-sizing: border-box;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 10px 0px 10px 20px;
  height: 50px;
  background: #26a2ff;
}
</style>
